﻿using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TakeoutMangesBLL
{
    public class EnterpriseBLL
    {
        public static List<Enterprise> EnterpriseInfo()
        {
            return TakeoutMangesDAL.EnterpriseDAL.EnterpriseInfo();
        }
        public static bool UpdateEnterprise(int EnterpriseID)
        {
            return TakeoutMangesDAL.EnterpriseDAL.UpdateEnterprise(EnterpriseID) == 1 ? true : false;
        }
        public static bool AddEnterprise(int EnterpriseID)
        {
            return TakeoutMangesDAL.EnterpriseDAL.AddEnterprise(EnterpriseID) == 1 ? true : false;
        }
        public static int InsertEnterprise(Enterprise ep)
        {
            return TakeoutMangesDAL.EnterpriseDAL.InsertEnterprise(ep);
        }
    }
}
